package com.cheung.shopkeeper.common.utils;

public class CompareUtil {
    public static boolean equal(Object a, Object b) {
        if (a == null && b == null) {
            return true;
        } else {
            if (a == null) {
                return false;
            } else {
                return a.equals(b);
            }
        }
    }
}
